/*
 *  $TEAM_NAME Space Trader
 */
package models;

/**
 * The class Shield represents a shield on a ship in space trader
 * @author bradley
 * @version 1.0
 */
public class Shield {
	/**
	 * field
	 */
	private int defense;
	
	/**
	 * no arg constructor
	 */
	public Shield(){
		this.defense = 0;
	}
	
	/**
	 * Creates a new shield with the input defense
	 * @param defense
	 */
	public Shield(int defense) {
		this.defense = defense;
	}

	/**
	 * Gets the shields defense
	 * @return - the defense
	 */
	public int getDefense() {
		return defense;
	}

	/**
	 * Sets the shields defense
	 * @param defense - the defense
	 */
	public void setDefense(int defense) {
		this.defense = defense;
	}
	
	/**
	 * to string
	 * @return string
	 */
	public String toString() {
		return "";
	}
}
